package com.lvmama.pangolin.service;

import java.util.List;
import java.util.Map;

import com.lvmama.pangolin.entity.Timer;

public interface TimerService {
	
	public int insertTimerList(List<Timer> list);
	
	public int updateTimerByCon(Map<String,Object> param) throws Exception;
	
	public List<Timer> queryTimerList(Timer timer);
	
	public List<Timer> queryTimerListByCon(Map<String,Object> param);
	
	public List<Timer> queryTimerGroupByTaskId(Map<String,Object> param);
	
	public List<Timer> getTimerList(Map<String,Object> map) throws Exception;
	
	int updateRunNumByCon(String timerId);
	
	int deleteByPrimaryKey(String timerId);
	int deleteByPrimaryKeyH(String timerId);
	int deleteTimerList(List<Timer> list);
	int deleteTimerListH(List<Timer> list);
	int insertTimerListToH(List<Timer> list);
	
	public void moveTimerToHistory(List<Timer> list);
	
	public List<Timer> queryTimerHListByCon(Map<String,Object> param);
}
